-- GENERATED SPELL FOR [Frostfeather Witch] --


function spell0_29793(pUnit, Event) --@Coldwind Blast,n/a--
pUnit:FullCastSpellOnTarget(51877,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29793', 2500, 1)
end

function Sorts_29793(pUnit, Event)
local choix_sorts_29793 = math.random(0, 0)
if choix_sorts_29793 == 0 then
pUnit:RegisterEvent('spell0_29793', 1, 1)
end
end

function mob29793_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29793', math.random(1500, 3000), 1)
end

function mob29793_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29793_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29793_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29793, 1, 'mob29793_Action')
RegisterUnitEvent(29793, 2, 'mob29793_Leave')
RegisterUnitEvent(29793, 3, 'mob29793_Kill')
RegisterUnitEvent(29793, 4, 'mob29793_Die')
